package xyz.bmj.hotkey;


import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

public class Cbk {

    public int masterKey;
    public int markKey;


    @Override
    public int hashCode() {
        return masterKey + markKey;
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Cbk)) {
            return false;
        }
        Cbk i = (Cbk) obj;
        return this.markKey + this.masterKey == i.markKey + i.masterKey;
    }

    @Override
    public String toString() {
        return "Cbk{" +
                "masterKey=" + masterKey +
                ", markKey=" + markKey +
                '}';
    }
}
